﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    /// <summary>
    /// 报名表
    /// </summary>
    [Table("AA003")]
    public class EntityAddName:EntityBase
    {
        /// <summary>
        /// 报名人
        /// </summary>
        [ForeignKey("P01")]
        [Column("AA01")]
        public EntityUserInfo? UserInfo { get; set; }
        /// <summary>
        /// 学费
        /// </summary>
        [Column("AA02")]
        public double Money { get; set; }
        /// <summary>
        /// 专业
        /// </summary>
        [Column("AA03")]
        public string? Major { get; set; }

        /// <summary>
        /// 接待老师
        /// </summary>
        [ForeignKey("P01")]
        [Column("AA04")]
        public EntityUserInfo? EiduTeacher { get; set; }
    }
}
